package cn.lngaosu.lwyd.module.integration.job;

import cn.lngaosu.lwyd.framework.quartz.core.handler.JobHandler;
import cn.lngaosu.lwyd.framework.tenant.core.job.TenantJob;
import cn.lngaosu.lwyd.module.integration.service.weixinvideolivedata.WeixinvideoLivedataService;
import cn.lngaosu.lwyd.module.integration.service.weixinvideoliverecord.WeixinvideoLiverecordService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class WeixinvideoLivedataJob implements JobHandler {

    @Resource
    private WeixinvideoLivedataService weixinvideoLivedataService;

    @Override
    @TenantJob
    public String execute(String param) {
        weixinvideoLivedataService.syncWeixinvideoLivedata();
        return "同步微信视频号直播大屏数据";
    }

}
